package cn.llming.auth.listener;

import cn.llming.auth.service.impl.PermissionScanServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;


import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;


@WebListener
public class InitPageScanListener implements ServletContextListener {

//    @Autowired
//    private IPermissionScanService scanService;
//
//
//
//    @Value("${system.controller-scan-package}")
//    private String path;

    @Autowired
    private PermissionScanServiceImpl scanService;
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("项目启动就开始扫描--");
//        scanService.scan();


    }


}
